#define  _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<assert.h>
char*my_strcat(char*dest,const char*str)
{
	assert(dest && str);
	char* s = dest;
	while (*dest != '\0')
	{
		dest++;
	}
	while (*dest++=*str++)
		;
	return s;
}
int main()
{
	char arr1[100] = "hello ";
	char arr2[] = "bit!";
	char*s=my_strcat(arr1,arr2);
	printf("%s\n", s);
	return 0;
}